namespace SmartPeople.Framework.SecuritySpace
{
    /// <summary>
    /// ISecuritySecuredTypeStates interface
    /// </summary>
    public interface ISecuritySecuredTypeStates
    {
        /// <summary>
        /// Gets the <see cref="SmartPeople.Framework.SecuritySpace.Model.ISecuritySecuredTypeState"/> with the specified state name.
        /// </summary>
        /// <value></value>
        ISecuritySecuredTypeState this[string stateName] { get; }

        /// <summary>
        /// Gets the count.
        /// </summary>
        /// <value>The count.</value>
        int Count { get; }

        /// <summary>
        /// Creates the state.
        /// </summary>
        /// <param name="stateName">Name of the state.</param>
        /// <returns></returns>
        ISecuritySecuredTypeState CreateState(string stateName);
    }
}